package com.iocup.keybastion.core.credentials;


import com.iocup.keybastion.core.profile.UserProfile;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 凭证
 * @author xyjxust
 */
@Setter
@Getter
public abstract class Credentials implements Serializable {

    /**
     * 用户信息
     */
    private UserProfile userProfile;
    /**
     * 认证客户端名字
     */
    private String clientName;
    /**
     * 来自地方
     */
    private String device;


    @Override
    public abstract boolean equals(Object o);

    @Override
    public abstract int hashCode();
}
